[Global Namespace]
Namespaces
Classes
Class for AbstractCardController
Abstract Class for Document Controllers Contains the shared logic to display a table of files.
Class for AbstractListController
Class to manage bank accounts
Class to manage bank transaction lines
API class for accountancy
Class to manage categories of an accounting account
Manage the different format accountancy export
Manage the different format accountancy import
Class to manage reports for accounting categories
Class to manage accountancy systems
Class to manage accounting accounts
Class to manage accounting journals
Class to manage agenda events (actions)
Class for ActionCommReminder
Class to manage members using default canvas
\class ActionsAdherentCardDefault \brief Class allowing the management of the members by default
Abstract class to manage third parties
Class with controller methods for product canvas
Class with controller methods for service canvas
\class ActionsContactCardCommon \brief Common Abstract Class for contact managmeent
\class ActionsContactCardDefault \brief Default Class to manage contacts
Class ActionsMyModule
Class Actions Stripe Connect
Class Actions of the module ticket
Class to manage members of a foundation.
Class to manage statistics of members
Class to manage members type
Class to manage advanced emailing target selector
API class for Agenda Events
Class for AI
Class to scan for virus
Class for Asset
Class for AssetAccountancyCodes
Class for AssetAccountancyCodes
Class for AssetDepreciationOptions
Class for AssetModel
Class for Availabilities
Class AvailabilitiesLine. You can also remove this and generate a CRUD class for lines objects.
Class for BOM
Class for BOMLine
API class for accounts
Class to manage bank categories
Class to manage Blocked Log
API class for BOM
Class to manage withdrawal receipts
Class to manage Ledger (General Ledger and Subledger)
Class BookKeepingLine
Class to manage bookmarks
Class to boolean field
Class of file to build cheque deposit receipts
Class to manage different types of events
Object of table llx_c_email_templates
Class CGenericDic
Class of dictionary of opportunity status
Class to send emails (with attachments or not) Usage: $mailfile = new CMailFile($subject,$sendto,$replyto,$message,$filepath,$mimetype,$filename,$cc,$ccc,$deliveryreceipt,$msgishtml,$errors_to,$css,$trackid,$moreinheader,$sendcontext,$replyto); $mailfile->sendfile();
Class of dictionary of nature of product (used by imports)
Class to send SMS Usage: $smsfile = new CSMSFile($subject,$sendto,$replyto,$message,$filepath,$mimetype,$filename,$cc,$ccc,$deliveryreceipt,$msgishtml,$errors_to); $smsfile->socid=...; $smsfile->contact_id=...; $smsfile->member_id=...; $smsfile->fk_project=...; $smsfile->sendfile();
Class for MyObject
Class of dictionary type of thirdparty (used by imports)
Class for Calendar
Class CalendarLine. You can also remove this and generate a CRUD class for lines objects.
Class to manage canvas
Class to manage cash fence
Class to manage categories
API class for categories
Class Cchargesociales
Class to manage dictionary Countries (used by imports)
Define Common function to access calendar items and format it in vCalendar
Class for managing the social charges.
Class to checkbox field (multiselect)
Class to chkbxlst field (multiselect)
Class to manage customers or prospects
Class to manage customers orders
Class to manage predefined suppliers products
Class to manage table ReceptionLineBatch.
Class to manage line orders
Class to manage order statistics (customer and supplier)
Class to manage comment
Parent class of all other dictionary classes
Parent class for documents (PDF, ODT, ...) generators
Class to common field
Class to common geo field (for linestrg, multipts, point, polygon, ...)
Parent class of all other hook actions classes
Trait for incoterm classes
Superclass for invoice classes
Parent class of all other business classes for details of elements (invoices, contracts, proposals, orders, ...)
Parent class for number ref generators
Parent class of all other business classes (invoices, contracts, proposals, orders, ...)
Parent class for class inheritance lines of business objects This class is useless for the moment so no inherit are done on it
Superclass for orders classes
Superclass for orders classes
Support class for third parties, contacts, members, users or resources
Class to common select field
Class to common sellist field
Trait for common signed business objects
Superclass for social networks
Class to generate stick sheet with format Avery or other personalised format
Trait CommonSubtotal
Parent class of all other business classes (invoices, contracts, proposals, orders, ...)
Class to manage bank accounts description of third parties
Class for CompanyPaymentMode
Class to stock current configuration
Class for ConferenceOrBooth
Class for ConferenceOrBoothAttendee
Class ConferenceOrBoothAttendeeLine. You can also remove this and generate a CRUD class for lines objects.
Class to manage contact/addresses
API class for contacts
Class Context
API class for contracts
Class to manage contracts
Class to manage lines of contracts
Class to manage pages
Class Cpaiement
Class to manage dictionary Regions
Cron Job class
Class to manage dictionary States (used by imports)
Class of dictionary type of thirdparty (used by imports)
Class Ctyperesource
Class CtyperesourceLine
Class CurrencyRate
Class DataPolicyCron
Class to date field
Class to datetime field
Class to datetimegmt field
Class for DefaultController
Class for MyObject
Class to manage receptions
Management class of delivery note lines
Class to manage trips and working credit notes
Class to manage the statistics of travel and expense notes
Class for handling Diaspora API interactions
A class containing functions for computing diffs and formatting the output.
Class to manage absolute discounts
Class for DocumentController
Class for DocumentListController
Class to manage UI documentation
API class for receive files
DolConfigCollector class
Class for handling deprecated properties and methods
Class to manage a WYSIWYG editor.
DolExceptionsCollector class
\class DolGeoIP \brief Class to manage GeoIP conversion Usage: $geoip=new GeoIP('country',$datfile); $geoip->getCountryCodeFromIP($ip); $geoip->close();
Class to manage Geo processing Usage: $dolgeophp=new DolGeoPHP($db);
Class to build graphs.
DolRequestDataCollector class
DolLogsCollector class
DolMemoryCollector class
DolQueryCollector class
DolRequestDataCollector class
DolTimeDataCollector class
Class to manage Dolibarr database access
Class to manage Dolibarr database access for a MySQL database using the MySQLi extension
Class to drive a PostgreSQL database for Dolibarr
Class to manage Dolibarr database access for a SQLite database
Class for API REST v1
Dolibarr API access class
DolibarrCollector class
DolibarrDebugBar class
Class DolibarrModules
Class that all triggers must inherit
DAO Resource object
Class to manage donations
Class to manage donations statistics
API class for donations
Class to double field
Class to duration field
Class to manage ECM directories
Class to manage ECM files
Class of an index line of a document
Class for EmailCollector
Class for EmailCollectorAction
Class for EmailCollectorFilter
Class to email field
Class for EmailSenderProfile
API for handling Object of table llx_c_email_templates
Class to manage warehouses
Class to manage establishments
Class EvalMath
Class for internal use
Class for Evaluation
Class for EvaluationLine
API for handling Object of table llx_eventorganization_conferenceorboothattendee
Events class
Class to manage shipments
Class to manage lines of shipment
CRUD class for batch number management within shipment
Class to manage shipment statistics
Class to manage Trips and Expenses
Class to manage inventories
Class of expense report details lines
Class to manage inventories
Class to manage the statistics of the expensereports and expense notes
API class for Expense Reports
Class to manage exports
Class to build export files with format CSV
Class to build export files with format CSV iso
Class to build export files with format CSV utf-8
Class to build export files with Excel format
Class to build export files with format TSV
Class ExternalModules
Class to manage standard extra fields
Class to manage standard extra languages
Class to manage invoices
Class to manage suppliers invoices
Class to manage supplier invoice lines of templates.
Class to manage invoice templates
Class to manage invoice lines.
Class to manage invoice lines of templates.
Class to manage invoice templates
Class to manage stats for invoices (customer and supplier)
Class to parse Fediverse files
Class to manage interventions
Class to manage intervention lines
Class to manage recurring interventions
Class to manage intervention statistics
Class to stock field infos
Class to manage fields
This class is used to manage file upload using ajax
Class to manage fiscal year
Class to manage generation of HTML components Only common components must be here.
Class permettant la generation du formulaire html d'envoi de mail unitaire Usage: $formail = new FormAI($db) $formai->proprietes=1 ou chaine ou tableau de valeurs $formai->show_form() affiche le formulaire
Class to manage generation of HTML components for accounting management
Class to manage building of HTML components
Class to generate html code for admin pages
Class to manage building of HTML components
Class to manage generation of HTML components for bank module
Class to manage barcode HTML
Class to manage generation of HTML components Only common components for WebPortal must be here.
Class to manage forms for categories
Class of forms component to manage companies
Class to manage generation of HTML components for contract module
Class to manage building of HTML components
Class to manage HTML component for ECM and generic filemanager
Class to manage generation of HTML components for contract module
Class to offer components to list and upload files
Class to manage generation of HTML components for accounting management
Class to manage generation of HTML components for intervention module
Class to manage generation of HTML components for ldap module
Class to manage generation of HTML components Only common components for WebPortal must be here.
Class permettant la generation du formulaire html d'envoi de mail unitaire Usage: $formail = new FormMail($db) $formmail->proprietes=1 ou chaine ou tableau de valeurs $formmail->show_form() affiche le formulaire
Class to offer components to list and upload files
Class permettant la generation de composants html autre Only common components are here.
Class to manage HTML output components for orders Before adding component here, check they are not into common part Form.class.php
Class permettant la generation de composants html autre Only common components are here.
Class with static methods for building HTML components related to products Only components common to products and services must be here.
Class to manage building of HTML components
Class to manage generation of HTML components for proposal management
Class to manage forms for the module resource
This class help you create setup render.
This class help to create item for class formSetup
Class permettant la generation du formulaire d'envoi de Sms Usage: $formsms = new FormSms($db) $formsms->proprietes=1 ou chaine ou tableau de valeurs $formsms->show_form() affiche le formulaire
Class to manage generation of HTML components for social contributions management
Class to generate the form for creating a new ticket.
Class to manage generation of HTML components Only common components for WebPortal must be here.
Class to manage component html for module website
Class to manage suppliers
Class of a generic business object
Class to manage a Leaflet map width geometrics objects
Class to manage Google API
Class HistoryLine. You can also remove this and generate a CRUD class for lines objects.
Class of the module paid holiday. Developed by Teclib ( http://www.teclib.com/ )
API class for Leaves
Class for Hook
Class to manage hooks
Class to html field
Class to read/parse ICal calendars
Class to icon field
Class to manage imports
Class to import CSV files
Class to import Excel files
Class to manage boxes on pages. This is an utility class (all is static)
Class to int field
Class of triggered functions for agenda module
Class of triggered functions for agenda module
Class of triggered functions for agenda module
Class of triggered functions for agenda module
Class of triggers for ldap module
Class of triggers for security audit events
Class of triggers for MailmanSpip module
Class of triggers for MyModule module
Class of triggers for notification module
Class of triggers for stripe module
Class of triggers for ticket module
Class of triggers for Webhook module
Class of triggers for workflow module
Class of triggers for Zapier module
Class to manage triggers
API class for Interventions
Class to manage intracomm report
Class for Inventory
Class InventoryLine
Class for InvoiceListController
API class for invoices
Class to ip field
Class for Job
Class JobLine. You can also remove this and generate a CRUD class for lines objects.
API class for knowledgemanagement knowledgerecord
Class for KnowledgeRecord
Class KnowledgeRecordLine. You can also remove this and generate a CRUD class for lines objects.
Class to manage LDAP features
The LESS compiler and parser.
Class Lettering
Class to manage withdrawals
Class to linestrg field
Class to manage links
Class to link field
Class to manage Schedule of loans
Class to manage local tax
Parent class for log handlers
API that allows to log in with an user account.
Class for LoginController
Class to manage emailings module
Class to manage emailings module
Parent class of emailing target selectors modules
API class for mass mailings
Class to manage mailman and spip
Class for handler Mastodon
Class for MemberCardController
API class for members
API class for members types
Class to manage left menus
Class to manage menu Empty
Class to manage menu entries
Class for Mo
Class MoLine. You can also remove this and generate a CRUD class for lines objects.
Old class name for Object of table llx_c_email_templates I prefer the CEmailTemplate name as it better reflects the database
Parent class for all contract numbering modules
Parent Class of numbering models of sending receipts references
Parent class for all holidays numbering modules
Parent Class of numbering models of sending receipts references
Parent class for third parties accountancy code generators
\class ModeleAction \brief Parent class for product models of doc generators
Parent class for bank account models
Parent class for barcode document generators (image)
Class ModeleBoxes
Parent class for password rules/management modules
Class parent for templates of document generation
Parent class of subscription templates
Parent class for trips and expenses templates
Parent class for export modules
Parent class for password rules/management modules
Parent class for import file readers
Parent class to manage numbering of Asset
Parent class for barcode numbering models
Parent class to manage numbering of batch products
Parent class to manage numbering of BOMs
Parent class to manage numbering of Sale Orders
Class parent for cheque Receipts numbering references mother class
Parent class to manage numbering of Sale Orders
Class mere des modeles de numerotation des references de bon de livraison
Parent class of donation numbering templates
Parent class to manage numbering of Evaluation
Parent class for numbering masks of expense reports
Parent class of invoice reference numbering templates
Parent class numbering models of intervention sheet references
Parent class to manage numbering of KnowledgeRecord
Class mere des modeles de numerotation des references de members
Parent class to manage numbering of MOs
Parent class to manage numbering of MyObject
Parent class to manage numbering of Partnership
Payment numbering references mother class
Class parent for numbering modules of tasks
Parent class for numbering rules of proposals
Parent class to manage numbering of RecruitmentCandidature
Parent class to manage numbering of RecruitmentJobPosition
Parent class to manage numbering of StockTransfer
Parent class of the Proposal numbering model classes
Parent Class of numbering models of suppliers invoices references
Parent Class of numbering models of supplier order references
Parent Class of the models to number the cash register receipts
Parent class of task reference numbering models
Parent Class of the project reference numbering model classes
Parent class to manage numbering of Workstation
Parent class for documents models
Parent class for boms models
Parent class of document generator for members cards.
Parent class for orders models
Parent class to manage intervention document templates
Class mere des modeles de bon de livraison
Parent class for documents models
Parent class of invoice document generators
Parent class to manage intervention document templates
Parent class to manage holidays document templates
Parent class for documents models
Parent class of document generator for address sheet.
Parent class to manage intervention document templates
Parent class for mos models
Parent class to manage warehouse movement document templates
Parent class for document models
Parent class for documents models
Parent class to manage intervention document templates
Parent class to manage intervention document templates
Parent class for projects models
Class mere des modeles de propale
Parent class for documents models
Parent class for documents models
Parent class for stock models of doc generators
Parent class for documents models
Perent class of the Proposal models
Parent class for supplier invoices models
Parent class for supplier orders models
Parent class for supplier invoices models
Parent class for task models
Parent class for documents models
Parent class to manage intervention document templates
Parent class to manage intervention document templates
Parent class for documents models
Parent class of accountancy models
Parent class of sending receipts models
Parent class of sending receipts models
Class template for classes of numbering product
Parent class for third parties code generators
Parent class for third parties models of doc generators
API class for MO
Class to manage stock movements
API class for MultiCurrency
Class Currency
Class to multipts field
API class for mymodule myobject
Class for MyObject
Class MyObjectLine. You can also remove this and generate a CRUD class for lines objects.
Class MyObjectTest
Class to manage the table of subscription to notifications
Parent class of all other business classes (invoices, contracts, proposals, orders, ...)
API that gives shows links between objects in an Dolibarr instance.
Put here description of your class
Class to manage order lines
Class for OrderListController
API class for orders
Class to manage payments of customer invoices
Class to manage payments for supplier invoices
API class for paiement
Class for Partnership
Class for PartnershipCardController
Class PartnershipLine. You can also remove this and generate a CRUD class for lines objects.
Class to manage partnership type
Class with cron tasks of Partnership module
API class for partnership partnership
Class to password field
Class to manage payments of donations
Class to manage payments of expense report
Class to manage payments of loans
Class to manage payments of salaries
Class to manage payments of social contributions
Class to manage payment terms records in dictionary
Class to manage payments of social contributions
Class to manage various payments
Class to phone field
Class PhpCollector
Class to point field
Class to polygon field
Class for Position
Class PositionLine. You can also remove this and generate a CRUD class for lines objects.
File of class to manage predefined price products or services by customer lines
Class for accessing price expression table
Class to price field
Class for accessing price global variables table
Class for price global variable updaters table
Class to parse product price expressions
Class to pricecy field (price with currency)
Parent class of emailing target selectors modules
Class to manage products or services
Class ProductAttribute Used to represent a Product attribute Examples:
- Attribute 'color' (of type ProductAttribute) with values 'white', 'blue' or 'red' (each of type ProductAttributeValue).
Class ProductAttributeValue Used to represent a product attribute value
Class ProductCombination Used to represent the relation between a product and one of its variants.
Class ProductCombination2ValuePair Used to represent the relation between a variant and its attributes.
Class ProductCombinationLevel Used to represent a product combination Level
File of class to manage predefined price products or services by customer
Class to manage predefined suppliers products
Class for ProductFournisseurPrice
Class to manage products or services.
Class ProductStockEntrepot
Manage record for batch number management
Class with list of lots and properties
API class for Product lots
API class for products
Class to manage projects
Class to manage statistics on projects
API class for projects
Class to manage proposals
Class for PropalListController
Class to manage commercial proposal lines
Class to manage proposals statistics
Put here description of your class
Class to manage propal merge of product line
API class for orders
Class to radio field
Class to real field
Class to manage receptions
Class to manage table commandefournisseurdispatch
Class to manage reception statistics
API class for receptions
Class for RecruitmentCandidature
Class RecruitmentCandidatureLine. You can also remove this and generate a CRUD class for lines objects.
Class for RecruitmentJobPosition
API class for recruitment
Class for handler Reddit
Class to manage standing orders rejects
Class to manage cheque delivery receipts
Class to parse RSS files
Class to construct and send SMTP compliant email, even to a secure SMTP server, regardless of platform.
API class for salaries
Class to manage salary statistics
Class to manage salary payments
Class to select field
Class to sellist field
API class for dictionaries
Class for SharedDocumentsController
API class for shipments
Class to manage OpenID
Class for Skill
Class for SkillRank
Class for Skilldet
Class to manage Social network posts
Class to manage third parties objects (customers, suppliers, prospects...)
Class for SocieteAccount
Class to stars field
Parent class of statistics class
API that gives the status of the Dolibarr instance.
API class for stock movements
Class for StockTransfer
Class for StockTransferLine
Stripe class
Class to manage subscriptions of foundation members
API class for subscriptions
Class to manage line invoices
API class for supplier invoices
API class for supplier orders
Class to manage price ask supplier
Class to manage supplier_proposal lines
API class for supplier proposal
Class for Target
Class to manage tasks
Class to manage statistics on project tasks
API class for projects
Class to text field
API class for thirdparties
Class to manage ticket
Class to manage the ticket stats
API class for ticket object
Class for TimeSpent
Class to timestamp field
TraceableDB class
Class to manage translations
Class for
Class to manage VAT - Value-added tax (also known in French as TVA - Taxe sur la valeur ajoutée)
Class to url field
Class to manage Dolibarr users
Class to manage bank accounts description of users
Class to manage user groups
API class for users
Class to manage utility methods
Class toolbox to validate values
Class to varchar field
Class for ViewImageController
API class for warehouses
Class to manage fields
Class for WebPortalInvoice
Class for WebPortalMember
Class for WebPortalOrder
Class for WebPortalPartnership
Class for WebPortalPropal
Class WebPortalTheme
API class for webhooks
Class Website
Class Websitepage
\file htdocs/core/class/workboardresponse.class.php \brief Class that represents response of load_board functions
Class for Workstation
Class to link resource with Workstations
Class to link User groups and Workstations
API class for workstations
API class for zapier hook
Class to manage the box to show last manual entries
Class to manage the box to show suspense account
Class to manage the box to show last events
Class to manage the box to show events in future
Class to manage the box of customer activity (invoice, order, proposal)
Class to manage the box to show user birthdays
Class to manage the box to show members birthdays
Class to manage the box to show last modified BOMs
Class to manage the box to show bookmarks
Class to manage the box to show last customers
Class to manage the box to show last customer orders
Class to manage the box to show bank accounts
Class to manage the box to show last contacts
Class to manage the box to show last contracts
Class to manage the box to show last thirdparties
Class to manage the box to show last thirdparties
Class to manage the box to show RSS feeds
Class to manage the box to show last invoices
Class to manage the box to show last supplier invoices
Class to manage the box to show not paid suppliers invoices
Class to manage the box to show not paid sales invoices
Class to manage the box to show Fediverse posts
Class to manage the box to show last interventions
Class to manage the box to show last suppliers
Class to manage the box to show funnel of prospections
Class to manage the box to show top-selling customers
Class to manage the box to show invoices per month graph
Class to manage the box to show invoices per year graph
Class to manage the box to show last invoices
Class to manage the box to show new daily tickets
Class to manage the box to show number of ticket types
Class to manage the box
Class to manage the box to show orders per month graph
Class to manage the box to show last orders
Class to manage the box to show last invoices
Class to manage the box to show proposals per month graph
Class to manage the box
Class to manage the box
Class to manage the box
Class to manage the box to show last modified tickets
Class to manage the box to show last created tickets
Class to manage the box of last login
Class to manage the box to show (last modified) members by tags
Class to manage the box to show last modofied members
Class to manage the box to show last modified members
Class to manage the box to show last members subscriptions
Class to manage the box to show last modofied members
Class to manage the box to show last manufacturing orders (MO)
Class to manage the box to show last products
Class to manage the box to show too low stocks products
Class to manage the box to show last project
Class to manage the box to show project opportunities
Class to manage the box to show last proposals
Class to manage the box to show last prospects
Class to manage the box to show last contracted products/services lines
Class to manage the box to show last contracted products/services lines
Class to manage the box to show expired services
Class to manage the box to show last shipments
Class that manages the box showing latest supplier orders
Class to manage the box to show last supplier orders awaiting reception
Class to manage the box to show last task
Class to manage the box to show last projet
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to build documents using ODF templates generator
Class to manage Receipt Printers
Class to generate document for subscriptions
Class to generate document for a generic donations receipt
Class for compressed result
Class for lessjs
Class to manage a list of personalised recipients for mailing feature
Class to offer a selector of emailing targets from contacts
Class to manage a list of personalised recipients for mailing feature
Class to generate target according to rule Fraise
Class to manage a list of personalised recipients for mailing feature
Class to offer a selector of emailing targets with Rule 'Pomme'.
Class to manage a list of personalised recipients for mailing feature
Class to offer a selector of emailing targets with Rule 'services expired'.
Class to offer a selector of emailing targets with Rule 'xinputfile'.
Class to offer a selector of emailing targets with Rule 'xinputuser'.
Class to describe and enable double entry accounting module
Class to describe and enable module Adherent
Class to describe and enable/disable module Agenda
Description and activation class for module Ai
Description and activation class for module Api
Description and activation class for module FixedAssets
Class to describe and enable module Banque
Class to describe Barcode
Class to describe a BlockedLog module
Description and activation class for module Bom
Description and activation class for module BookCal
Class to describe and enable module Bookmark
Class to generate a password according to a dolibarr standard rule (12 random chars)
Class to describe and enable module Categorie
Class to describe and enable module Click to Dial
Class to describe Websites module
Class to describe module Sales Orders
Class to describe and enable module Comptabilite
Class to describe and enable module Contrat
Class to describe a Cron module
Description and activation class for module datapolicy
Description and activation class for module dav
Class to describe and enable module
Class to describe and enable module Deplacement
Class to describe and enable module Document
Class to describe and enable module Donation
Class descriptor of DynamicPrices module
Description and activation class for module ECM
Description and activation class for module emailcollector
Description and activation class for module EventOrganization This module is base on this specification : https://wiki.dolibarr.org/index.php/Draft:Module_Event_Organization
Class to describe and enable module Expedition
Description and activation class for module ExpenseReport
Class to describe and enable module export
Class to describe and enable module externalrss
Description and activation class for module FTP
Class to describe module customer invoices
Class to describe and enable module Fckeditor
Class to describe and enable module Ficheinter
Description and activation class for module Fournisseur
Class to generate a password according to rule 'no password'
Class to generate a password according to personal rules
Class to generate a password according to a dolibarr standard rule (12 random chars)
Class to describe and enable module Import
Description and activation class for module Gravatar
Description and activation class for module HRM
Description and activation class for module holiday
Class to describe and enable module Import
Description and activation class for module MyModule
Description and activation class for module intracommreport
Description and activation class for module KnowledgeManagement
Class to describe and enable module Label
Class to describe and enable module Ldap
Class to manage loan module
Class to describe and enable module Mailing
Class to describe and enable module Click to Dial
Class to describe module Margin
Class to describe a ModuleBuilder module
Description and activation class for module Mrp
Description and activation class for module MyModule
Description and activation class for module MyModule
Class to describe and enable module Mailing
Class to describe and activate module OAuth
Description and activation class for module opensurvey
Description and activation class for module Partnership This module is base on this specification : https://wiki.dolibarr.org/index.php?title=Draft:Module_Partnership_management#Note
Description and activation class for module Paybox
Class to describe and enable module of payment by Bank transfer
Description and activation class for module Paypal
Class to generate barcode images using php barcode generator
Class to describe and enable module of payment by Direct Debit
Class to describe and activate module Direct Printing
Class descriptor of Product module
Description and activation class for module productdluo
Class to describe and enable module Projet
Class to describe and enable module Propale
Class to describe and activate module Receipt Printer
Class to describe and enable module Reception
Description and activation class for module Recruitment
Description and activation class for module Resource
Class to manage salaries module
Class to describe and enable module Service
Class to describe a SocialNetworks module
Class to describe and enable module Societe
Class to describe and enable module Stock
Description and activation class for module StockTransfer
Description and activation class for module Paybox
Description and activation class for module subtotals
Class to describe and enable module SupplierProposal
Class to enable/disable module Logs
Class to describe and enable module TakePos
Class to describe and enable module Tax
Class to generate barcode images using tcpdf barcode generator
Description and activation class for module Ticket
Class to describe and enable module User
Description and activation class for module Product variants
Description and activation class for module WebPortal
Class to describe a WebServices module
Description and activation class for module Webhook
Class to describe Websites module
Class to describe and enable module Workflow
Description and activation class for module Workstation
Description and activation class for module Zapier
Class to manage numbering of intervention cards with rule Arctic.
Class to manage customer Bom numbering rules advanced
Class to manage the Standard numbering rule for Asset
Class to manage barcode with standard rule
Class to manage barcode with standard rule
Class to manage customer Bom numbering rules advanced
Class to manage the Standard numbering rule for BOM
Class to manage Bookkeeping numbering rules Argon
Class to manage Bookkeeping numbering rules Helium, configurable numbering model
Class to manage numbering of thirdparties code
Class to manage cheque receipts numbering rules Mint
Class to manage cheque receipts numbering rules Thyme
Class to manage third party code with elephant rule
Class to manage numbering of thirdparties code
Class permettant la gestion monkey des codes tiers
Class to manage accountancy code of thirdparties with Aquarium rules
Class to manage accountancy code of thirdparties with Digitaria rules
Class to manage accountancy code of thirdparties with Panicum rules
Class to manage product code with elephant rule
\class mod_codeproduct_leopard \brief Class permettant la gestion leopard des codes produits
Class du modele de numerotation de reference de commande fournisseur Muguet
Class providing the 'Orchidee' numbering models for supplier orders
Class to manage Sales Order numbering rules Marbre
Class to manage Sales Order numbering rules Saphir
Class to manage contract numbering rules Magre
Class to manage contract numbering rules Olive
Class to manage contract numbering rules Serpis
\class mod_delivery_jade \brief Class du modele de numerotation de reference de bon de livraison Jade
\class mod_delivery_saphir \brief Class du modele de numerotation de reference de livraison Saphir
Class to manage customer evaluation numbering rules advanced
Class to manage the Standard numbering rule for HR evaluation
Class to manage expedition numbering rules Ribera
Class to manage expedition numbering rules Safor
Class to manage expensereport numbering rules Jade
Class to manage expense report numbering rules Sand
Cactus Class of numbering models of suppliers invoices references
\class mod_facture_fournisseur_tulip \brief Tulip Class of numbering models of suppliers invoices references
Class to manage invoice numbering rules Mars
Class of numbering module Mercure for invoices
Class of numbering module Terre for invoices
Class to manage holiday numbering rules Immaculate
Class to manage holiday numbering rules Madonna
Class to manage customer Bom numbering rules advanced
Class to manage the knowledgerecord numbering rules standard
Class to manage Batch numbering rules advanced
\class mod_lot_free \brief Class allowing lot_free management of batch numbers
Class to manage MO numbering rules standard
Class to manage the numbering module Advanced for member references
Class to manage member report numbering rules Custom
Class to manage the numbering module Simple for member references
Class to manage MO numbering rules advanced
Class to manage MO numbering rules standard
Class to manage the Advanced numbering rule for MyObject
Class to manage the Standard numbering rule for MyObject
Class to manage numbering of intervention cards with rule Pacific.
Class to manage the Advanced numbering rule for Partnership
Class to manage the Standard numbering rule for Partnership
Class to manage customer payment numbering rules Ant
Class to manage customer payment numbering rules Cicada
Class to manage the numbering module Simple for project references
Class to manage the numbering module Universal for project references
Class to manage business proposition rules Marbre
Class of file that contains the numbering module rules Saphir
Class to manage reception numbering rules Beryl
Class to manage reception numbering rules Moonstone
Class to manage the Advanced numbering rule for Job application
Class to manage the Standard numbering rule for Job application
Class to manage the Advanced numbering rule for Job position
Class to manage the Standard numbering rule for Job positions
Class to manage Batch numbering rules advanced
\class mod_codeproduct_leopard \brief Class permettant la gestion leopard des codes produits
Class to manage MO numbering rules standard
Class to manage customer Bom numbering rules advanced
Class to manage the Standard numbering rule for Stock
Class to manage customer payment numbering rules Ant
Class to manage customer payment numbering rules Cicada
Class to manage the Marbre numbering rule for Request for quotation
Class of file that contains the numbering module rules Saphir
Class to manage logging to a file
Class to manage logging to syslog
Class to manage ref numbering of takepos cards with rule Simple.
Class to manage ref numbering of takepos cards with rule universal.
Class to manage the numbering module Simple for project references
Class du modele de numerotation de reference de projet Universal
Class to manage the numbering module Simple for ticket references
Class to manage the numbering module Universal for Ticket references
Class to manage customer Bom numbering rules advanced
Class to manage the Standard numbering rule for Workstation
Class to manage the box
Class to make SSL connection
Class to generate PDF supplier proposal Aurore
Class to generate PDF proposal Azur
Class to build sending documents with model Espadon
Class to manage generation of project document Baleine
Class permettant de generer les projects au modele Ban
Class to manage generation of project document Beluga
Class to build sending documents with model Espadon
Class to generate the supplier invoices PDF with the template canelle
Class to generate the supplier orders with the cornas model
Class to generate the customer invoice PDF with template Crabe
Class to generate PDF proposal Cyan
Class to build sending documents with model Eagle
Class to generate PDF orders with template Eagle
Class to generate PDF orders with template Einstein
Class to generate PDF orders with template Eratosthene
Class to build sending documents with model Espadon
Class to build sending documents with model Espadon
Class to build sending documents with model Merou
Class to generate the supplier orders with the muscadet model
Class to manage PDF invoice template octopus
Class to manage reporting of payments
Class permettant de generer les rapports de paiement
Class to generate PDF orders with template Proforma
Class to build sending documents with model Rouget
Class to generate SEPA mandate
Class to build interventions documents with model Soleil
Class to manage PDF invoice template sponge
Class permettant de generer les borderaux envoi au modele Squille
Class to build documents using ODF templates generator
Class to generate event report
Class to manage PDF template standard_asset
Class to generate Evaluation Pdf based on standard model
Class to generate expense report based on standard model
Class to generate stick sheet with format Avery or other personalised
Class to build documents using ODF templates generator
Class to manage PDF template standard_myobject
Class to manage PDF template standard_recruitmentjobposition
Class to build documents using ODF templates generator
Class to generate the supplier invoices payment file with the standard model
Class to generate stick sheet with format Avery or other personalised
Class to build Delivery Order documents with storm model
Class to build contracts documents with model Strato
Class to generate stick sheet with format Avery or other personalised
Class to manage generation of project document Timespent
Class to build Delivery Order documents with typhon model
Class to generate the manufacturing orders with the vinci model
Class to generate the supplier proposals with the zenith model
Class to provide printing with Google Cloud Print
Class to provide printing with PrintIPP
Class to build vCard files
Interfaces
Class to manage Dolibarr database access for an SQL database
Functions
No description
No description
Return, in clear text, value of a number of seconds in days, hours and minutes
Converti les heures et minutes en secondes
CreateServerFolder
CreateXmlHeader
Detect HTML in the first KB to prevent against potential security issue with IE/Safari/Opera file type auto detection bug.
No description
FileUpload
Return value of a param into GET or POST supervariable.
Helper function that combines values of a dolibarr DatePicker (such as Form::selectDate) for year, month, day (and optionally hour, minute, second) fields to return a timestamp.
Return the value of a $_GET or $_POST supervariable, converted into float.
Return the value of a $_GET or $_POST supervariable, converted into integer.
Return true if the parameter $paramname is submit from a POST OR GET as an array.
Return true if we are in a context of submitting the parameter $paramname from a POST of a form.
Prepare array of directives for HTTP headers
Prepare array of sources for HTTP headers
Transform a Content Security Policy to an array
GetResourceTypeDirectory
GetUrlFromPath
Check whether given extension is in html extensions list
Write all lines of a project (if parent = 0)
Show task lines with a particular parent
Enter description here.
Do a cleanup of the file name to avoid possible problems
Do a cleanup of the folder name to avoid possible problems
Search in task lines with a particular parent if there is a task for a particular user (in taskrole)
SendCKEditorResults
This is the function that sends the results of the uploading process.
ServerMapFolder
Create status badge
Check if the given RSS feed if inside the list of boxes/widgets
Check if the given fediverse feed if inside the list of boxes/widgets
Print a form part
Print a On/Off button
Show a message to say access is forbidden and stop program.
Prepare array with list of tabs for accounting transaction
Create an product document on disk using template defined into PRODUCT_ADDON_PDF
Prepare array with list of tabs
Activate external modules mandatory when country is country_code
Add document model used by doc generator
Add a file into database index.
Add Mailing Event Type SQL
Add Object in ModuleApi File
Add more SQL filters for event list
Sub function for createPartArray(). Only called by createPartArray() and itself.
Add a summary line to the current open table ("None", "XMoreLines" or "Total xxx")
\brief Ajoute une ligne de tableau a 2 colonnes pour avoir l'option synchro calendrier \return int Retourne le nombre de lignes ajoutees
Prepare array with list of tabs
Prepare array with list of admin tabs
Prepare array with list of tabs
Prepare admin pages header
Generic function that return javascript to add to transform a common input text or select field into an autocomplete field by calling an Ajax page (ex: /societe/ajax/ajaxcompanies.php).
Make content of an input box selected when we click into input field.
Convert a html select field into an ajax combobox.
On/off button for constant
Show an ajax dialog
Add event management script.
Generic function that return javascript to add to a page to transform a common input text field into an autocomplete field by calling an Ajax page (ex: core/ajax/ziptown.php).
On/off button to change a property status of an object This uses the ajax service objectonoff.php (May be called when MAIN_DIRECT_STATUS_UPDATE is set for some pages)
Return true if security check on parameters are OK, false otherwise.
Manage backup versions for a given file, ensuring only a maximum number of versions are kept.
Return an html table from an array
Return lines of an html table from an array Used by array2table function only
Return array with element inserted in it at position $position
Recursively merges two arrays while preserving keys and replacing existing values.
Prepare admin pages header
Return array head with list of tabs to view object informations
Return automatic or manual in current language
Backup the db OR just a table without mysqldump binary (does not require any exec permission) Author: David Walsh (http://davidwalsh.name/backup-mysql-database-php) Updated and enhanced by Stephen Larroque (lrq3000) and by the many commentators from the blog Note about foreign keys constraints: for Dolibarr, since there are a lot of constraints and when imported the tables will be inserted in the dumped order, not in constraints order, then we ABSOLUTELY need to use SET FOREIGN_KEY_CHECKS=0; when importing the sql dump.
Prepare array with list of tabs
Returns an array with the tabs for the "Bannkline" section It loads tabs from modules looking for the entity payment
Encodes $code with $encoding using genbarcode OR built-in encoder if you don't have genbarcode only EAN-13/ISBN or UPC is possible
Encode EAN
Encode result of genbarcode command
Encode UPC
Output image onto standard output, or onto disk if $filebarcode is defined
Print barcode
Convert a binary data to string that represent hexadecimal value
Define head array for tabs of blockedlog tools setup pages
Prepare admin pages header
Return array head with list of tabs to view object information
Prepare admin pages header
Helper function that combines values of a dolibarr DatePicker (such as Form::selectDate) for year, month, day (and optionally hour, minute, second) fields to return a portion of URL reproducing the values from the current HTTP request.
Build a file from an array of events All input params and data must be encoded in $conf->charset_output
Export events from database into a cal file.
Build a file from an array of events.
Calculate totals (net, vat, ...) of a line.
Calculate Bytes to kb, mb and translate it to current language
Define head array for tabs of agenda setup pages
Purpose: Prepares the parameters for the SetExpressCheckout API Call.
Return if we should do a group by customer with sub-total
Check if a linked object can be displayed based on third-party privacy rules.
Applies the Cartesian product algorithm to an array Source: http://stackoverflow.com/a/15973172
Prepare array with list of tabs
Function to check if comment BEGIN and END exists in modMyModule class
Check if a general accounting account allows the use of an auxiliary account.
Check IBAN number information for a bank account.
Check linked elements and delete if invalid
Return a login if login/pass was successful
Check if the object exceeded the number of posts for a specific ip in the same week
Check a new string containing only php code (including <php tag)
- Block if user has no permission to change PHP code.
Check SWIFT information for a bank account
Check that access by a given user to an object is ok.
Request VAT details
Return a sanitized or empty value after checking value against a rule.
Check authentication array and set error, errorcode, errorlabel
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"] Note: On critical error (hack attempt), we put a log "functions_dolibarr::check_user_password_dolibarr authentication KO"
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]
Cree un bordereau remise de cheque
Clean corrupted database tree (orphelins linked to a not existing parent), record linked to themself, and also child-parent loop
Return accounting account without zero on the right
Change color to make it less aggressive (ratio is negative) or more aggressive (ratio is positive)
Convert an array with RGB value into hex RGB value.
Color Hex to Hsl (used for style)
No description
Convert a string RGB value ('FFFFFF', '255,255,255') into an array RGB array(255,255,255).
Output text in color or bold
Builds an array of safe and properly escaped HTML attributes from a key-value pair list.
Return array head with list of tabs to view object information.
Complete $filearray with data from database.
Add external modules to list of dictionaries.
Search external modules to complete the list of contact element
Complete or removed entries into a head array (used to build tabs).
Complete the $substitutionarray with more entries coming from external module that had set the "substitutions=1" into module_part array.
Prepare array of tabs for ConferenceOrBoothAttendees
Prepare array of tabs for ConferenceOrBooth
Prepare array of tabs for ConferenceOrBooth Project tab
Prepare array of tabs for ConferenceOrBoothAttendees
Validate payment
Add a gantt chart line
Return array head with list of tabs to view object information.
Convert links to local wrapper to medias files into a string into a public external URL readable on internet
Return, in clear text, value of a number of seconds in days, hours and minutes.
Convert hours and minutes into seconds
Add exif orientation correction for image
count directories or files in modulebuilder folder
Create ActionComm
Create Contact
Check if all the parts exist, and gather all the parts of the file together.
Create an invoice
Create an invoice from an order
Create a new dictionary table.
Create order
Create a payment
Create an invoice
Create project
Create a thirdparty
Create an external user with thirdparty and contact
\brief Fonction pour creer un mot de passe aleatoire en minuscule \param sel Donnee aleatoire \return string Mot de passe
\brief Fonction pour creer un mot de passe aleatoire melangeant majuscule, minuscule, chiffre et alpha et caracteres speciaux \remarks La fonction a ete prise sur http://www.uzine.net/spip \param sel Donnee aleatoire \return string Mot de passe
Return array of tabs to used on pages to setup cron module.
Clean a cell to respect rules of CSV file cells
Return label of currency or code+label
Return the value of token currently saved into session with name 'token'.
Prepare admin pages header
Prepare array with list of tabs
Decode the value found into the Authorization HTTP header.
Prepare array with list of tabs
This function will take NVPString and convert it to an Associative Array and it will decode the response.
Delete document model used by doc generator
Delete files into database index using search criteria.
Delete a product or service
Delete property and permissions from documentation ascii file if we delete an object
Delete property from documentation if we delete object
Delete a thirdparty
Automatically detect Dolibarr's main data root
Automatically detect Dolibarr's main document root
Show fields in insert/edit mode
Return a html list element with diff between required rank and user rank
Return the relative dirname (relative to DOL_DATA_ROOT) of a full path string.
Used to print ranks of a skill into several case, view or edit pour js necessary to select a rank
Display a list of User with picto
Return line description translated in outputlangs and encoded into UTF8
Return an email formatted to include a tracking id For example [email protected] becom [email protected]
Calculate Structured Communication / BE Bank payment reference number
Return path of url.
Create a dialog with two buttons for export and overwrite of a website
Return HTML code to output a button to open a dialog popup box.
Return if a $sqlfilters parameter has a valid balance of parenthesis
Check virus into a file
Check virus into a file
An function to complete dropdown url in dolGetButtonAction
Copy a dir to another dir. This include recursive subdirectories.
Decode a string with a symmetric encryption. Used to decrypt sensitive data saved into database.
Check if there is still some dispatching of stock to do.
Encode a string with a symmetric encryption. Used to encrypt sensitive data into database.
Split a string with 2 keys into key array.
Explode a search string into an array but do not explode when keys are inside quotes.
Calculate Creditor Reference RF / FI Bank payment reference number
Calculate payment Barcode data with FI/RF bank payment reference number
Function to forge a SQL criteria from a Dolibarr filter syntax string.
Function to forge a SQL criteria from a Dolibarr filter syntax string.
Explode an universal search string with AND parts.
Function to forge a SQL criteria from a USF (Universal Filter Syntax) string.
Function dolGetBadge
Function dolGetButtonAction
Function dolGetButtonTitle : this kind of buttons are used in title in list
Add space between dolGetButtonTitle
Return a country code from IP. Empty string if not found.
Return link url to an object
Return firstname and lastname in correct order
Return first letters of a strings.
Return first line of text. Cut will depends if content is HTML or not.
Returns a specific ldap hash of a password.
Get list of existing objects from a directory
Return list of directories that contain modules.
Return a string of random bytes (hexa string) with length = $length for cryptographic purposes.
Output the badge of a status.
Clean an HTML page to report only content, so we can include it into another page It outputs content of file sanitized from html and body part.
Return if a file is qualified for preview
Output javascript to autoset a generated password using default module into a HTML element.
List sessions in db
Function to parse MD content into ASCIIDOC
Function to parse MD content into HTML
deprecated
Function to return number or amount in text.
Returns an email value with obfuscated parts.
Return a string (that can be on several lines) ready to be output on a HTML page.
Return a string ready to be output into an HTML attribute (alt, title, data-html, ...) With dolPrintHTMLForAttribute(), the content is HTML encode, even if it is already HTML content.
Return a string ready to be output on a href attribute (this one need a special because we need content is HTML with no way to detect it is HTML).
Return a string ready to be output on input textarea.
Return a string label (so on 1 line only and that should not contains any HTML) ready to be output on HTML page.
Return a string ready to be output on an HTML attribute (alt, title, ...)
Output the signature file into the PDF object.
Return a string label (possible on several lines and that should not contains any HTML) ready to be output on HTML page.
Make replacement of strings into a file.
Make replacement of strings into a file.
Converts smiley string into the utf8 sequence.
Save content of a page on disk
Save content of a page on disk
Save content of the index.php and/or the wrapper.php page
Save content of a page on disk. For example into documents/website/mywebsite/javascript.js.php file.
Save an alias page on disk (A page that include the reference page).
Save content of a page on disk (page name is generally ID_of_page.php).
Save content of a page on disk
This is called whenever the session_destroy() function call is made. Returns true if the session has successfully been deleted.
This function is called on a session's start up with the probability specified in session.gc_probability.
The session open handler called by PHP whenever a session is initialized.
This function is called whenever a session_start() call is made and reads the session variables.
This function is called when a session is initialized with a session_start( ) call, when variables are registered or unregistered, and when session variables are modified. Returns true on success.
Set a cookie
Returns text slugified (lowercase and no special char, separator is "-").
Generate a SQL string to make a filter into a range (for second of date until last second of date).
Remove PHP code part from a string.
Increase the website counter of page access.
Render a string of an HTML content and output it.
Convert a page content to have correct links (based on DOL_URL_ROOT) into an html content. It replaces also dynamic content with '...php...' Used to output the page on the Preview from backoffice.
Get and save an upload file (for example after submitting a new file in a mail form).
Show tab footer of a card.
Make a basename working with all page code (default PHP basenamed fails with cyrillic).
Return string to add class property on html element with pair/impair.
Build a login from lastname, firstname
Return path of url or filesystem. Can check into alternate dir or alternate dir + main dir depending on value of $returnemptyifnotfound.
Test if Refresh needed.
Return if a BVRB number is valid or not (For Switzerland)
Security check when accessing to a document (used by document.php, viewimage.php and webservices to get documents).
Create a clone of instance of object (new instance with same value for each properties) With native = 0: Deprecated. Property that are references are different memory area in the new object (full isolation clone). This means $this->objectproperty of the new object may not be valid (except this->db that is voluntarly kept).
Create a clone of instance of object into a full array, using recursive call.
Change color with a delta
Fast compare of 2 files identified by their properties ->name, ->date and ->size
Compress a directory and subdirectories into a package file.
Compress a file.
Concat 2 strings. Can be used for dol_eval strings for example.
Concat 2 descriptions with a new line between them (second operand after first one with appropriate new line separator)
text1 html + text2 html => text1 + '
' + text2
text1 html + text2 txt => text1 + '
' + dol_nl2br(text2)
text1 txt + text2 html => dol_nl2br(text1) + '
' + text2
text1 txt + text2 txt => text1 + '\n' + text2
Function to return a number into a text.
Convert an image file or a PDF into another image format.
Copy a file to another file.
Decode a base 64 encoded + specific delta change.
Remove a directory (not recursive, so content must be empty).
Remove a directory $dir and its subdirectories (or only files and subdirectories)
Remove a file or several files with a mask.
Scan a directory and return a list of files/directories.
Scan a directory and return a list of files/directories.
Encode a string with base 64 algorithm + specific delta change.
Returns text escaped for all protocols (so only alpha chars and numbers)
Returns text escaped for inclusion in HTML alt or title or value tags, or into values of HTML input fields.
Returns text escaped for inclusion into javascript code
Returns text escaped for inclusion into javascript code
Returns text escaped for inclusion into a php string, build with double quotes " or '
Returns text escaped by RFC 3986 for inclusion into a clickable link.
Returns text escaped for inclusion into a XML string
Replace eval function to add more security.
Replace eval function to add more security.
Show tab header of a card
Store object in file.
Return a formatted address (part address/zip/town/state) according to country rules.
Connect to FTP server
Delete a FTP file
Download a FTP file
Remove FTP directory
Upload a FTP file
Remove FTP directory
Try to guess default paper format according to language into $langs
Return an id or code from a code or id.
Return size of image file on disk (Supported extensions are gif, jpg, png, bmp and webp)
Show tabs of a record
Return GMT time for first day of a month or year
Return first day of week for a date. First day of week may be monday if option MAIN_START_WEEK is 1.
Return GMT time for first hour of a given GMT date (it removes hours, min and second part)
Return GMT time for last day of a month or year.
Return GMT time for last hour of a given GMT date (it replaces hours, min and second part to 23:59:59)
Return next month
Return next week
Get properties for an object - including magic properties when requested
Return previous month
Return previous week
Read a memory area shared by all users, all sessions on server
Return an array with locale date info.
Return getmypid() or random PID when function is disabled Some web hosts disable this php function for security reasons and sometimes we can't redeclare function.
Return a prefix to use for this Dolibarr instance, for session/cookie names or email id.
Read a memory area shared by all users, all sessions on server
Return shared memory address used to store dataset with key memoryid
Returns a hash (non reversible encryption) of a string.
Replace html_entity_decode functions to manage errors
This function remove all ending \n and br at end
Replace htmlentities functions.
This function is called to encode a string into a HTML string but differs from htmlentities because a detection is done before to see if text is already HTML or not. Also, all entities but &,<,>," (because protected by code) and ' (because not included by the ENT_COMPAT mode) are converted.
This function is called to decode a HTML string (it decodes entities and br tags)
Print formatted error messages to output (Used to show messages on html output).
Print formatted messages to output (Used to show messages on html output).
Print formatted messages to output (Used to show messages on html output).
Sanitize a HTML to remove js, dangerous content and external links.
Resize or crop an image file (Supported extensions are gif, jpg, png, bmp and webp)
Make an include_once using default root and alternate root if it fails.
Scan a directory and init $_SESSION to manage uploaded files with list of all found files.
Return if path is an URI (the name of the method is misleading).
deprecated
Implement json_decode for PHP that does not support it Use json_encode and json_decode in your code !
deprecated
Implement json_encode for PHP that does not support it.
deprecated
Same function than microtime in PHP 5 but compatible with PHP4
Return MIME type of a file from its name with extension.
Creation of a directory (this can create recursive subdir)
Return a timestamp date built from detailed information (by default a local PHP server timestamp) Replace function mktime not available under Windows if year < 1970 PHP mktime is restricted to the years 1901-2038 on Unix and 1970-2038 on Windows
Return file(s) into a directory (by default most recent)
Move a file into another name.
Move a directory into another name.
Check validity of a file upload from an GUI page, and move it to its final destination.
Return nb of lines of a formatted text with \n and
(WARNING: string must not have mixed \n and br separators)
Replace CRLF in string with a HTML BR tag.
Return date for now. In most cases, we use this function without parameters (that means GMT time).
Return a string encoded into OS filesystem encoding. This function is used to define value to pass to filesystem PHP functions.
Format address string
Output date in a string format according to outputlangs (or langs if not defined).
Show EMail link formatted for HTML output.
Displays error message system with all the information to facilitate the diagnosis and the escalation of the bugs.
Show a public email and error code to contact if technical error
Output content of a file $filename in version of current language (otherwise may use an alternate language)
Show a javascript graph.
Return an IP formatted to be shown on screen
Show information on an object TODO Move this into html.formother
Format phone numbers according to country
Format professional IDs according to their country
Return string with formatted size
Show Skype link
Show social network link
Show Url link
Taken from php documentation comments No more used
Read object from cachefile.
Remove an uploaded file (for example after submitting a new file a mail form).
Clean a string to use it as a file name.
Clean a string to use it as a key or code. So only char a-Z, A-Z, _ and 0-9 is kept.
Clean a string to use it as a path name. Similar to dol_sanitizeFileName but accept / and \ chars.
Clean a string to use it as an URL (into a href or src attribute)
Destroy and recreate a new session without losing content.
Set focus onto field with selector (similar behaviour of 'autofocus' HTML5 tag)
Save data into a memory area shared by all users, all sessions on server. Note: MAIN_CACHE_COUNT must be set.
Save data into a memory area shared by all users, all sessions on server
Optimize a size for some browsers (phone, smarphone...)
Advanced sort array by the value of a given key, which produces ascending (default) or descending output and uses optionally natural case insensitive sorting (which can be optionally case sensitive as well).
Check if a string is a correct iso string If not, it will not be considered as HTML encoded even if it is by FPDF.
Clean a string from some undesirable HTML tags.
Clean a string from all HTML tags and entities.
Clean a string from all punctuation characters to use it as a ref or login.
Clean a string from all non printable ASCII chars (0x00-0x1F and 0x7F). It can also removes also Tab-CR-LF. UTF8 chars remains.
Clean a string from some undesirable HTML tags.
Clean a string to keep only desirable HTML tags.
Clean a string from all accent characters to be used as ref, login or by dol_sanitizeFileName
Convert a string date into a GM Timestamps date Warning: YYYY-MM-DDTHH:MM:SS+02:00 (RFC3339) is not supported. If parameter gm is 1, we will use no TZ, if not we will use TZ of server, not the one inside string.
Make a strlen call. Works even if mbstring module not enabled
Convert a string to lower. Never use strtolower because it does not works with UTF8 strings.
Convert a string to upper. Never use strtolower because it does not works with UTF8 strings.
Make a substring. Works even if mbstring module is not enabled for better compatibility.
Write log message into outputs. Possible outputs can be: SYSLOG_HANDLERS = ["mod_syslog_file"] file name is then defined by SYSLOG_FILE SYSLOG_HANDLERS = ["mod_syslog_syslog"] facility is then defined by SYSLOG_FACILITY Warning, syslog functions are bugged on Windows, generating memory protection faults. To solve this, use logging to files instead of syslog (see setup of module).
Add a delay to a date
Truncate a string to a particular length adding '…' if string larger than length.
Convert first character of the first word of a string to upper. Never use ucfirst because it does not works with UTF8 strings.
Convert first character of all the words of a string to upper.
Compute a hash and compare it to the given one For backward compatibility reasons, if the hash is not in the password_hash format, we will try to match against md5 and sha1md5 If constant MAIN_SECURITY_HASH_ALGO is defined, we use this function as hashing function.
Get the value of a setup constant from database
Log function for install pages
Insert a parameter (key,value) into database (delete old key then insert it again).
Output a text into a log file
Prepare array with list of admin tabs
Function to manage the drag and drop of a file.
Return array head with list of tabs to view object information.
Prepare array with list of different ecm main dashboard
Prepare array with list of tabs
Return array head with list of tabs to view object information.
Encode or decode database password in config file
Prepare array with list of tabs
Prepare admin pages header
Return array head with list of tabs to view object information.
Create a document onto disk according to template module.
Return array head with list of tabs to view object information.
expensereport_pdf_create
Prepare array with list of tabs
Fetch an object from its id and element_type Inclusion of classes is automatic
Return array head with list of tabs to view object information.
Create an intervention document on disk using template defined into FICHEINTER_ADDON_PDF
deprecated
Show a string with the label tag dedicated to the HTML edit field.
Show fields in insert/edit mode
Show fields in insert/edit mode
Show fields in insert/edit mode
Show fields in insert/edit mode
Show fields in insert/edit mode
Show fields in insert/edit mode
Fill array of possible filter fields for an object
Fill arrayofgroupby for an object
Fill arrayofmesures for an object
Fill arrayofmesures for an object
Find child Gantt line
Find and init a specimen for the given object type
Add the correct HTML close tags for "startSimpleTable(...)" (use after the last table line)
Force switching conf of entity, even if user is connected Fox example when trying to go on public form of an other entity
forgeSQLFromUniversalSearchCriteria
Function to output a form to add object into a category
Show array with constants to edit
Tell if an entry is a FTP directory
Return a string to output a keypad
Get ActionComm
Return URL we can use for advanced preview links
Download all images found into an external URL.
Return array of Emojis. We can't move this function inside a common lib because we need it for security before loading any file.
Return array of Emojis for miscellaneous use.
Get array of social network dictionary
Get attachments of a given mail
Return information about user browser
Get caller info as a string that can be appended to a log message.
Get category infos and children
Return array of possible common substitutions. This includes several families like: 'system', 'mycompany', 'object', 'objectamount', 'date', 'user'
Get Contact
Get list of contacts for third party
Return list of countries that are inside the EEC (European Economic Community) Note: Try to keep this function as a "memory only" function for performance reasons.
Return list of countries that are inside the SEPA zone (Single Euro Payment Area) Note: Try to keep this function as a "memory only" function for performance reasons.
Return country label, code or id from an id, code or label
Get current period of fiscal year?
Return a HTML table that contains a list with customer invoice drafts
Return a HTML table that contains a list with latest edited customer invoices
Return a HTML table that contains a pie chart of customer invoices
Return a HTML table that contains of unpaid customers invoices
Return a HTML table that contains a pie chart of sales orders
Return a HTML table that contains a pie chart of customer proposals
Return Default dates for transfer based on periodicity option in accountancy setup
Prepares the parameters for the GetExpressCheckoutDetails API Call.
Return the value of a filed into a dictionary for the record $id.
Return value from dictionary
Method to get a document by webservice
Return a Dolibarr global constant boolean value.
Return a Dolibarr global constant float value.
Return a Dolibarr global constant int value.
Return a Dolibarr global constant string value
Return Dolibarr user constant int value
Return Dolibarr user constant string value
Return a DoliDB instance (database handler).
Function get second level domain name.
Return a HTML table that contains a list with customer invoice drafts
Return a HTML table that contains a list with customer invoice drafts
Get list of entity id to use.
Return array of extension for executable files of text files that can contains executable code.
Get content of a joined file from its position into a given email
Function to get list of updated or modified files.
Return array of first day of weeks.
Search a string and return all lines needed from file. Does not include line $start nor $end
Grouped rows with same ref in array
Return a hash unique identifier of the registration
Return string with HTML link for online payment
Return the filename of file to get the thumbs
Return the URL of an image found into a HTML content.
Return the public image URL of an object.
Get array to convert the Dolibarr picto keys into Font awesome keys
Get invoice from id, ref or ref_ext.
Get list of invoices for third party
Make content of an input box selected when we click into input field.
Return default language from country code.
Return array of last day of weeks.
Return a HTML table that contains a list with latest edited customer invoices
Get getListActionCommType
getListOfGroups
Return list of activated modules usable for document generation
Return if a filename is file name of a supported image format
getListOfProductsOrServices
getListOfThirdParties
Get type and rate of localtaxes for a particular vat rate/country of a thirdparty.
Return an array with margins information of a line
Return the max allowed for file upload.
Get name of directory where the api_...class.php file is stored
Return the full path of the directory where a module (or an object of a module) stores its files.
Return the full path of the directory where a module (or an object of a module) stores its temporary files.
Return the full path of the directory where a module (or an object of a module) stores its versioned files.
Return nb of images known into inde files for an object;
Retrieves the details of a news post by its ID.
Get next fiscal year period after a given date
Return an HTML table that contains a pie chart of the number of customers or supplier invoices
Get the socid of an object, supporting legacy attribute names.
Return string with full Url
Return string with full Url
Return a HTML table that contains a list with open (unpaid) customer invoices
Get order from id, ref or ref_ext.
Get list of orders for third party
Return list of containers object that match a criteria.
Return string with full Url
Return the picto for a data type
Return a HTML table that contains a pie chart of customer invoices
Retrieve and return product for mail template.
Get produt or service
Get list of products for a category
Get a project
Return array with list of all public files of a given object.
Return string with full Url
Return a HTML table that contains a list with latest edited supplier invoices
Return a HTML table that contains a pie chart of supplier invoices
Return a HTML table that contains of unpaid purchase invoices
Return a generated password using default module
Return a result column with a translated result text
Function root url from a long url For example: https://www.abc.mydomain.com/dir/page.html return 'https://www.abc.mydomain.com' For example: https://www.abc.mydomain.com/ return 'https://www.abc.mydomain.com' For example: http://www.abc.mydomain.com/ return 'http://www.abc.mydomain.com'
Return HTML content to add as header card for an article, news or Blog Post or home page.
Return HTML content to add structured data for an article, news or Blog Post.
Return source for doc_ref of a bank transaction
Return state translated from an id. Return value is always utf8 encoded and without entities.
deprecated
Function to return value of a static property when class name is dynamically defined (not hard coded).
Return string with full Url
Return HTML content to add structured data for an article, news or Blog Post. Use the json-ld format.
Get invoice from id, ref or ref_ext
Get list of invoices for third party
Return array of tabs to use on pages to setup cron module.
Return a table column with a indicator (okay or warning), based on the given name and list
Return a table column with a indicator (okay or warning), based on the given functions to check
No description
Get tax (VAT) main information from Id.
Get a thirdparty
deprecated
Get timeline icon
Get title line of an array
Function to get a content from an URL (use proxy if proxy defined).
Fonction permettant de générer les URL pour les sondage
Get produt or service
Return array of valid payment mode
Full methods code
Return a warning delay You can use it like this: if (getWarningDelay('module', 'paramlevel1')) It replaces old syntax: if ($conf->module->user->rights->module->level1)
\file htdocs/lib/accountancy.lib.php \brief Library of accountancy functions \version $Id$
Format output for start and end date
Function that return vat rate of a product line (according to seller, buyer and product vat rate) VATRULE 0: If we are in mode SERVICE_ARE_ECOMMERCE_200238EC and customer is not a company with a vat id, we use default product VAT in buyer country VATRULE 1: If seller does not use VAT, default VAT is 0. End of rule.
Return a path to have a the directory according to object where files are stored.
Get formatted error messages to output (Used to show messages on html output).
Get formatted messages to output (Used to show messages on html output).
Return localtax rate for a particular VAT rate, when selling a product with vat $vatrate, from a $thirdparty_buyer to a $thirdparty_seller Note: This function get information into the table llx_tva using the VAT rate as key.
Get values of localtaxes (1 or 2) for company country for the common vat with the highest value
Return last or next value for a mask (according to area we should not reset)
Return localtax vat rate of a product in a particular country or default country vat if product is unknown
Return vat rate of a product in a particular country, or default country vat if product is unknown.
Scan a directory and return a array of files/directories from a selection.
Get string from "$start" up to "$end"
Return table name of an alias. For this, we look for the "tablename as alias" in sql string.
Return not used field number
hash_call: Function to perform the API call to PayPal using API signature
Return array head with list of tabs to view object information
Return array head with list of tabs to view object information
Prepare admin pages header
Return array head with list of tabs to view object information
Show a message to say access is forbidden and stop program.
Prepare array with list of tabs
Return if a filename is file name of a supported image format
Beautify an image by adding a link edit and delete on image
Show logo action
Show tick logo if allowed
Return image of a credit card according to its brand name
Show delete logo
Show down arrow logo
Show logo edit/modify fiche
Show help logo with cursor "?"
Show left arrow logo
Show a picto called object_picto (generic function)
Show picto whatever it's its name (generic function)
Show picto (generic function)
Show previous logo
Show right arrow logo
Show top arrow logo
Show logo view card
Show warning logo
Show weather picto
Function to return list of tabs for import pages
Execute content of a php page and report result to be included into another page.
Show information in HTML for admin users or standard users
Print the usage when executing scripts from install/.
Prepare admin pages header
Prepare array of tabs for IntraCommReport
Define head array for tabs of inventory tools setup pages
Define head array for tabs of inventory tools setup pages
Return array head with list of tabs to view object information.
Return array head with list of tabs to view object information.
Return if a file can contains executable content
Return if the version is a candidate version to get the LNE certification and if the prerequisites are OK in production to be switched to LNE certified mode.
Return if the application is executed with the LNE requirements on.
Return if the blocked log was already used to block some events.
Return if we are using a HTTPS connection Check HTTPS (no way to be modified by user but may be empty or wrong if user is using a proxy) Take HTTP_X_FORWARDED_PROTO (defined when using proxy) Then HTTP_X_FORWARDED_SSL
Return if a country of an object is inside the EEC (European Economic Community)
Return if a country of an object is inside the SEPA zone (Single Euro Payment Area)
Check if a variable with name $var start with $regextext.
Return true if email syntax is ok.
Return true if email has a domain name that can be resolved to MX type.
Return true if phone number syntax is ok TODO Decide what to do with this
Check the syntax validity of a Belgium (BE) Tax Identification Number (TIN).
Check the syntax validity of an Algerian (DZ) Tax Identification Number (TIN).
Check the syntax validity of a Spanish (ES) Tax Identification Number (TIN), where:
- NIF = Número de Identificación Fiscal (used for residents only before 2008. Used for both residents and companies since 2008.)
- CIF = Código de Identificación Fiscal (used for companies only before 2008. Replaced by NIF since 2008.)
- NIE = Número de Identidad de Extranjero
Check the syntax validity of a Portuguese (PT) Tax Identification Number (TIN).
Url string validation <http[s]> :// [user[:pass]@] hostname [port] [/path] [?getquery] [anchor]
Check if VAT numero is valid (check done on syntax only, no database or remote access)
Function to test if an entry is enabled or not
function is_countable (to remove when php version supported will be >= 7.3)
Check if a value is empty with some options
check if that filename is concerned by exclude filter
Return if a child id is in descendance of parentid
This function evaluates a string that should be a valid IPv4 Note: For ip 169.254.0.0, it returns 0 with some PHP (5.6.24) and 2 with some minor patches of PHP (5.6.25). See https://github.com/php/php-src/pull/1954.
Fonction vérifiant l'existance et la valeur non vide d'une clé d'un tableau
Show header of a page used to transfer/dispatch data in accounting
Same function than javascript unescape() function but in PHP.
Decode an encoded string. The string can be encoded in json format (recommended) or with serialize (avoid this)
Implement json_decode for PHP that does not support it
Implement json_encode for PHP that does not have module enabled.
Prepare admin pages header
Initialize the array of tabs for customer invoice
Return Auxiliary accounting account of thirdparties with defined length
Return General accounting account with defined length (used for product and miscellaneous)
Return the list of public holidays including Friday, Saturday and Sunday (or not) between 2 dates in timestamp.
Function return formated extrafield
Function return formated min buy price
Function return formated product status sell or buy
Function return formated virtual stock
Empty header
Show header for new member
Show header for new member
Show http header, open body tag and show HTML header banner for public pages for tickets
Show header for new donation
Load a title with picto
Calculate remaining loan mensuality and interests
Return array head with list of tabs to view object information
Make substitution into a text string, replacing keys with vals from $substitutionarray (oldval=>newval), and texts like (TranslationKey|langfile), [CONSTANTKEY] or [CONSTANTKEY|urlencode] are also replaced.
Define head array for tabs of marges tools setup pages
Return array of tabs to used on pages for third parties cards.
Return translation label of a unit key
Transform a given unit scale into the cube of that unit, if known
Transform a given unit scale into the square of that unit, if known.
Return translation label of a unit key.
Return array head with list of tabs to view object information
Return array head with list of tabs to view object information
Return array head with list of tabs to view object stats information
Return array head with list of tabs to view object information
Create a document for visit card according to template defined in ADHERENT_CARDS_ADDON_PDF
Create an array of lines [ skillLabel,description, maxrank on group1 , minrank needed for this skill ]
Migrate contacts fields facebook and co to socialnetworks Can be called only when version is 10.0.* or lower. Fields does not exists after.
Migrate export and import profiles to fix field name that was renamed
Invoice exports been shifted (facture_1 => facture_0, facture_2 => facture_1) in version 20, shift export models accordingly
Migrate file from old path to new one for mailing $mailing
Migrate members fields facebook and co to socialnetworks Can be called only when version is 10.0.* or lower. Fields does not exists after.
Repair orphan payments (lost relations due to bugs) Query to check if there are still orphans: select * from llx_paiement as p left join llx_paiement_facture as pf on pf.fk_paiement=p.rowid WHERE pf.rowid IS NULL AND (p.fk_facture = 0 OR p.fk_facture IS NULL)
Repair orphan payments (lost relations due to bugs) Query to check if there are still orphans: select * from llx_paiement as p left join llx_paiement_facture as pf on pf.fk_paiement=p.rowid WHERE pf.rowid IS NULL AND (p.fk_facture = 0 OR p.fk_facture IS NULL)
Migrate thirdparties fields facebook and co to socialnetworks Can be called only when version is 10.0.* or lower. Fields does not exists after.
Migrate file from old path users/99/file.jpg into users/99/photos/file.jpg
Migrate users fields facebook and co to socialnetworks.
Add management to catch fatal errors - shutdown handler
Prepare array with list of tabs
\brief This function returns the html for the moneymeter.
Prepare admin pages header
Prepare array with list of tabs
Prepare array with list of currency tabs
Prepare admin pages header
Generate natural SQL search string for a criteria (this criteria can be tested on one or several fields)
Return the value of token currently saved into session with name 'newtoken'.
Return a numeric value into an Excel like column number. So 0 return 'A', 1 returns 'B'..., 26 return 'AA'
Function to return number of days between two dates (date must be UTC date !) Example: 2012-01-01 2012-01-02 => 1 if lastday=0, 2 if lastday=1
Function to return number of working days (and text of units) between two dates (working days)
Return the number of non working days including Friday, Saturday and Sunday (or not) between 2 dates in timestamp.
Retourne le numero de la semaine par rapport a une date
Return array of tabs to used on pages to setup cron module.
Prepare array with list of tabs
Returns an array with the tabs for the "Opensurvey poll" section It loads tabs from modules looking for the entity Opensurveyso
Return array head with list of tabs to view object information.
Show HTML header of install pages
Converts a formatted properties string into an associative array.
Replaces automatic database login by actual value
Replaces automatic database password by actual value
Prepare admin pages header
Returns an array with the tabs for the "Expense report payment" section It loads tabs from modules looking for the entity payment
Returns an array with the tabs for the "Payment" section It loads tabs from modules looking for the entity payment
Returns an array with the tabs for the "Supplier payment" section It loads tabs from modules looking for the entity payment_supplier
Define head array for tabs of paypal tools setup pages
Add legal certificate mention
Add legal mention
Function to extract metadata from a PDF file by doing a binary parsing of the PDF file
Function to try to calculate height of a HTML Content.
Show header of page for PDF generation
Show bank information for PDF generation
Return a string with full address formatted for output on PDF documents
Return a formated address (part address/zip/town/state) according to country rules
Return array with format properties of default PDF format
Return height to use for Logo onto PDF
Return a PDF instance object. We create a FPDI instance that instantiate TCPDF.
Return linked objects to use for document generation.
Return dimensions to use for images onto PDF checking that width and height are not higher than maximum (20x32 by default).
Return array of possible substitutions for PDF content (without external module substitutions).
Return total quantity of products and/or services
Return line description translated in outputlangs and encoded into htmlentities and with
Return line quantity
Return line quantity asked
Return line keep to ship quantity
Return line quantity shipped
Return line product ref
Return line ref_supplier
Return line remise percent
Return line total excluding tax
Return line total including tax
Return line unit
Return line unit price excluding tax
Return line unit price including tax
Return line vat rate
Show footer of page for PDF generation
Render subtotals line with a colored background and adapted text color .
Add a draft watermark on PDF files
Show linked objects for PDF generation
Output line description into PDF
Check the syntax of some PHP code.
Return the php_info into an array
Return img flag of country for a language code or country code.
Check need data to create standigns orders receipt file
Function to format a value into an amount for visual output Function used into PDF and HTML pages
Function to format a value into a defined format for French administration (no thousand separator & decimal separator force to ',' with two decimals) Function used into accountancy FEC export
Function that return a number with universal decimal format (decimal separator is '.') from an amount typed by a user.
\brief Show a HTML Tab with boxes of a particular area including personalized choices of user \param user User \param areacode Code of area for pages (0=value for Home page) \return int <0 if KO, Nb of boxes shown of OK (0 to n)
Function to output HTML to make an ajax call to make registration
Show a search area.
print a total cell value according to its type
Show filter form in agenda view
Print a title with navigation controls for pagination
Format output for start and end date
Show a title with picto
Show title line of an array
Create a redirect form to paybox form
Send redirect to paypal to browser
Return HTML table with list of projects and number of opened tasks
Define head array for tabs of printing tools setup pages
Define head array for tabs of printing tools setup pages
Return array head with list of tabs to view object information.
Return array head with list of tabs to view object information.
Prepare array with list of tabs
Output a task line into a pertime input mode
Output a task line into a pertime input mode
Output a task line into a perday input mode
Output a task line into a perday input mode
Show task lines with a particular parent
Prepare array with list of tabs
Prepare array with list of tabs
Return array head with list of tabs to view object information.
Return a html list with rank information
No description
Rewriting all permissions after any actions
Return a file on output using a low memory. It can return very large files with no need of memory.
Return the real char for a numeric entities.
Regenerate files .class.php
Save data into a memory area shared by all users, all sessions on server
Function to build a compiled PDF
Define head array for tabs of receipt printer setup pages
Return array head with list of tabs to view object information.
Displays an error page when a record is not found. It allows customization of the message, whether to include the header and footer, and if only the message should be shown without additional details.
Prepare admin pages header
Prepare array of tabs for RecruitmentCandidature
Prepare array of tabs for RecruitmentJobPosition
Make a redirect to another container.
Remove EMoji from email content
Remove first and last parenthesis but only if first is the opening and last the closing of the same group
Remove Object variables and methods from API_Module File
Show header of a report
Prepare head for admin tabs
Check permissions of a user to show a page and an object. Check read permission.
Function to convert an XML object into an array
Launch a sql file. Function is used by:
- Migrate process (dolibarr-xyz-abc.sql)
- Loading sql menus (auguria)
- Running specific Sql by a module init
- Loading sql file of website import package Install process however does not use it.
Return array head with list of tabs to view object information
Returns an array with the tabs for the "salaries" section It loads tabs from modules looking for the entity salaries
Return a sanitized or empty value after checking value against a rule.
Save the attached file into a directory with a given name
Search in task lines with a particular parent if there is a task for a particular user (in taskrole)
do a secure delete file/dir with double check (don't trust unlink return)
Prepare array with list of tabs
Retourne la liste deroulante des differents etats d'une note de frais.
\brief Show a combo list with projects qualified for a third party \param socid Id third party (-1=all, 0=only projects not linked to a third party, id=projects not linked or linked to third party id) \param selected Id project preselected \param htmlname Nom de la zone html \return int Nbre of project if OK, <0 if KO
Return list of types of notes with select value = id
send email to validator for current leave represented by (id)
Set event message in dol_events session object. Will be output by calling dol_htmloutput_events.
Set event messages in dol_events session object. Will be output by calling dol_htmloutput_events.
Set password of an user
\file htdocs/lib/bookmark.lib.php \brief List of functions for bookmark module \version $Id$
Output a dimension with best unit
Return string with full Url. The file qualified is the one defined by relative path in $object->last_main_doc
Return string with full Url. The file qualified is the one defined by relative path in $object->last_main_doc
Output the eye picto to show/hide a password HTML field.
Return string with full online payment Url
Return string with full online Url to accept and sign a quote
Show list of themes. Show all thumbs of themes
Create a button to copy $valuetocopy in the clipboard (for copy and paste feature).
Show weather logo. Logo to show depends on $totallate and values for conf 'MAIN_METEO_LEVELx'
Show list of themes. Show all thumbs of themes/skins
Show html area with actions (done or not, ignore the name of function).
Show html area with actions in messaging format.
Show html area with actions to do
Show html area for list of addresses
Show event of a particular day
Show html area for list of contacts
Show html area for list of projects
Show event of a particular day
Show event line of a particular day for a user
Show event line of a particular day for a user
Function to put the movable box of a source field
Show a LDAP array into an HTML output array.
Show button test LDAP synchro
List sendings and receive receipts
Show html area for list of projects
Show list of themes. Show all thumbs of themes
Show html area with actions for ticket messaging.
Function for return different onglet of socialnetworks admin page
Return array head with list of tabs to view object information.
Return array of tabs to used on pages for third parties cards.
Return array of tabs to used on page
sortElementsByClientName
Start a table with headers and a optional clickable number (don't forget to use "finishSimpleTable()" after the last table row)
Verify if $haystack startswith $needle
Return array head with list of tabs to view object information.
Prepare admin pages header
Define head array for tabs of stripe tools setup pages
Return array head with list of tabs to view object information
Function called to complete substitution array (before generating on ODT, or a personalized email) functions xxx_completesubstitutionarray are called by make_substitutions() if file is inside directory htdocs/core/substitutions
sumAmountsForUnalterableEvent
Return array head with list of tabs to view object information.
deprecated
Create a document onto disk according to template model.
Return array head with list of tabs to view object information.
deprecated
Create a document onto disk according to template module.
Return array head with list of tabs to view object information.
Prepare array with list of tabs
Gets Tax to collect for the given year (and given quarter or month) The function gets the Tax in split results, as the Tax declaration asks to report the amounts for different Tax rates as different lines.
Gets Tax to collect for the given year (and given quarter or month) The function gets the Tax in split results, as the Tax declaration asks to report the amounts for different Tax rates as different lines.
Look for collectable VAT clients in the chosen year (and month)
Security: WAF layer for SQL Injection and XSS Injection (scripts) protection (Filters on GET, POST, SERVER['PHP_SELF']).
Security: SQL Injection and XSS Injection (scripts) protection (Filters on GET, POST, PHP_SELF).
Build tabs for admin page
Build tabs for a Ticket object
Output html header of a page. It calls also top_httphead() This code is also duplicated into security2.lib.php::dol_loginfunction
Show HTTP header. Called by top_htmlhead().
Prepare array with list of tabs
treeOutputForAbsoluteDir
Recursive function to output a tree.
- ...
Show indent and picto of a tree line. Return array with information of line.
Gets VAT to collect for the given month of the given year The function gets the VAT in split results, as the VAT declaration asks to report the amounts for different VAT rates as different lines.
Gets VAT to pay for the given month of the given year The function gets the VAT in split results, as the VAT declaration asks to report the amounts for different VAT rates as different lines
Create ActionComm
Update a contact
Updates a dictionary in a module descriptor file.
Update an invoice, only change the state of an invoice
Update an order
Update a product or service
Update a thirdparty
Print the usage when executing scripts from install/.
Prepare array with list of tabs
Convert a string from one UTF-16 char to one UTF-8 char
Check if a string is in UTF8. Seems similar to utf8_valid() but in pure PHP.
Implement utf8_decode for PHP that does not support it.
Implement utf8_encode for PHP that does not support it.
Valid an order
Gets VAT to collect for the given year (and given quarter or month) The function gets the VAT in split results, as the VAT declaration asks to report the amounts for different VAT rates as different lines.
Look for collectable VAT clients in the chosen year (and month)
Return a string with VAT rate label formatted for view output Used into pdf and HTML pages
Verify if condition in string is ok or not
Compare 2 versions (stored into 2 arrays), to know if a version (a,b,c) is lower than (x,y,z) To check using a string version do a preg_split('/[.-]/', strinversion) to convert the string into an array.
Renvoi une version en chaine depuis une version en tableau
\brief Affiche le contenu d'un fichier CSV sous forme de tableau \param file_to_include Fichier CSV a afficher \param max_rows Nombre max de lignes a afficher (0 = illimit�)
\brief Affiche le contenu d'un fichier Excel (avec les feuilles de calcul) sous forme de tableau \param file_to_include Fichier Excel a afficher \param max_rows Nombre max de lignes a afficher (0 = illimite) \param max_cols Nombre max de colonnes a afficher (0 = illimite)
Create a thumbnail from an image file (Supported extensions are gif, jpg, png and bmp).
Prepare admin pages header
Prepare admin pages header
Prepare array of directives for Website
Prepare array of sources for Website
Transform a Content Security Policy to an array
Convertit une masse d'une unite vers une autre unite
Prepare admin pages header
Generate Urls and add them to documentation module
Write all permissions of each object in AsciiDoc format
Write all properties of the object in AsciiDoc format
Save configuration file. No particular permissions are set by installer.
Create main file. No particular permissions are set by installer.
Create master file. No particular permissions are set by installer.
Return yes or no in current language
Prepare admin pages header
Post webhook in zapier with object data
build a zip file with only php code and no external depends on "zip" exec for example
Exceptions
Class to manage exceptions